<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ page import ="java.sql.*,java.util.*,com.cfxy.dao.*,com.cfxy.model.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>结果</title>
</head>
<body>
		登录管理员：<%request.getSession().getAttribute("uname");%>
		<br><br>
		<a href ="register.jsp">添加用户</a>
		<br>
		<%	List<User> list = (List<User>)request.getAttribute("ulist");
			for(User obj : list){	
		%>
		<br>
		<a>用户名：<%=obj.getUsername() %></a><a>,密码：<%=obj.getPassword()%>
		<a href ="usermanager?funcation=delete&id=<%=obj.getId()%>">删除</a>&nbsp;&nbsp;&nbsp;&nbsp;
		<a href ="usermanager?funcation=Edit&id=<%=obj.getId()%>">修改</a>
		</a>
		<%
			}
		%>
</body>
</html>
